package com.liuyjy.knife4j.properties;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author liuyjy
 * @Date 2022/1/26 13:55
 * @Description: swagger 配置
 **/
@ConfigurationProperties(prefix = "common.setting.swagger")
@Data
public class SwaggerProperties {
    private String title = "在线 APIs";

    private String groupName = "2.X版本";

    private String description;

    private String author = "Liuyjy";

    /**
     * 指定扫包范围
     */
    private String basePackage;

    /**
     * 作者资料RUL
     */
    private String url;

    /**
     * 服务条款URL
     */
    private String serviceUrl;
    /**
     * 作者Email
     */
    private String email;

    private String version = "1.0.0";


    /**
     * 是否注册Handler，解决doc.html 404问题
     */
    private boolean registryHandler;


    /**
     * 是否开启头部参数
     */
    private boolean openHeader = true;

}
